package cn.cdeden.knowledge.domain.dto;

import cn.cdeden.knowledge.domain.FileTemplateTree;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@AutoMappers({@AutoMapper(target = FileTemplateTree.class)})
public class FileTemplateTreeDto implements Serializable {
    private static final long serialVersionUID = 1L;

//    @ApiModelProperty(value = "编号")
    private Long id;

//    @ApiModelProperty(value = "父亲编号1")
    private String parentId;

//    @ApiModelProperty(value = "父亲编号2")
    private String parentId2;

//    @ApiModelProperty(value = "父亲编号3")
    private String parentId3;

//    @ApiModelProperty(value = "icon")
    private String icon;

//    @ApiModelProperty(value = "文件编号")
    private Integer fileId;

//    @ApiModelProperty(value = "后缀名")
    private String suffix;

//    @ApiModelProperty(value = "名称")
    private String realName;

//    @ApiModelProperty(value = "上级路径")
    private String superiorsPath;

//    @ApiModelProperty(value = "路径")
    private String path;

//    @ApiModelProperty(value = "下一级类型")
    private String type;

//    @ApiModelProperty(value = "储存表id")
    private String storageId;

//    @ApiModelProperty(value = "储存服务器类型")
    private String storageType;

//    @ApiModelProperty(value = "文件大小")
    private Long size;

    private String state;

    private String libraryType;

//    @ApiModelProperty(value = "关连状态")
    private String linkingState;

    private String attention;

    private String collection;

    private String isLock;

    private String columnType;

//    @ApiModelProperty(value = "创建编号")
    private String createId;

//    @ApiModelProperty(value = "创建者")
    private String createBy;

//    @ApiModelProperty(value = "创建日期")
    private Date createTime;

//    @ApiModelProperty(value = "更新编号")
    private String updateId;

//    @ApiModelProperty(value = "更新者")
    private String updateBy;

//    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

//    @ApiModelProperty(value = "删除编号")
    private String deleteId;

//    @ApiModelProperty(value = "删除者")
    private String deleteBy;

//    @ApiModelProperty(value = "删除时间")
    private Date deleteTime;

    private String deleteType;

//    @ApiModelProperty(value = "版本")
    private String editionName;

//    @ApiModelProperty(value = "图片存储")
    private String imageStorage;

//    @ApiModelProperty("文件存储")
    private String fileStorage;

//    @ApiModelProperty(value = "版本号")
    private String edition;

    private String fileEncode;

//    @ApiModelProperty(value = "文件的MD5")
    private String fileMd5;

//    @ApiModelProperty(value = "是否删除")
    private Boolean isDelete;

//    @ApiModelProperty(value = "所属部门")
    private Long deptId;

    private List<MultipartFile> files;

    private MultipartFile file;

    private MultipartFile image;

    private String useType;

    private String createType;
}
